{*
News single view
For thanhoc online template
@author: trungdt
@since: Aug 25, 2011
*}
<link rel="stylesheet" type="text/css" href="{$smarty.const.THEME_RELATIVE}/modules/newsmodule/css/news_elise.css">

<div class="newsmodule thanhoc">
	{include file="`$smarty.const.BASE`modules/common/views/_permission_icons.tpl"}
	<div class="itempermissions">    
		{permissions level=$smarty.const.UILEVEL_NORMAL}
		{if $newsitem->permissions.edit_item == 1}
			{if $newsitem->approved == 2} {* in ap *}
			<img class="mngmnt_icon" src="{$smarty.const.ICON_RELATIVE}edit.disabled.png" title="{$_TR.alt_edit_disabled}" alt="{$_TR.alt_edit_disabled}" />
			{else}
			<a class="mngmntlink news_mngmntlink" href="{link action=edit id=$newsitem->id}">
				<img class="mngmnt_icon" src="{$smarty.const.ICON_RELATIVE}edit.png" title="{$_TR.alt_edit}" alt="{$_TR.alt_edit}" />
			</a>
			{/if}
		{/if}
		{if $newsitem->permissions.delete_item == 1}
			{if $newsitem->approved == 2} {* in ap *}
			<img class="mngmnt_icon" src="{$smarty.const.ICON_RELATIVE}delete.disabled.png" title="{$_TR.alt_delete_disabled}" alt="{$_TR.alt_delete_disabled}" />
			{else}
			<a class="mngmntlink news_mngmntlink" href="{link action=delete id=$newsitem->id}" onclick="return confirm('{$_TR.delete_confirm}');">
				<img class="mngmnt_icon" src="{$smarty.const.ICON_RELATIVE}delete.png" title="{$_TR.alt_delete}" alt="{$_TR.alt_delete}" />
			</a>
			{/if}
		{/if}
		{/permissions}
	</div>
	<h1 class="title">{$newsitem->title}</h1>
	<div id="content-area">
		<div id="node-382" class="node clear-block">
			<div class="meta">
				<span class="submitted">{$newsitem->datetime}</span>
			</div>

			<div class="content">
				{$newsitem->body}
			</div>
		</div>
	</div>		
</div>